
export const DOMAIN: number = 0x8691;
export const TAG: string = "netdebug";

export class innerParams {
  data3:number[];

  constructor(tuple:number[]) {
    this.data3 = tuple;
  }
}

export class routerParams {
  data1: string;
  lip: string;
  rip: string;
  ipLocal: string;
  data2: innerParams;

  constructor(str:string, lip:string, rip:string, tuple:number[]) {
    this.data1 = str;
    this.lip = lip;
    this.rip = rip;
    this.data2 = new innerParams(tuple);
  }
}

export class customSocket {
  name: string;
  type: string;
  lip: string;
  rip: string;
  port: string;

  constructor(name: string, type: string, lip: string, rip: string, port: string) {
    this.name = name;
    this.type = type;
    this.lip = lip;
    this.rip = rip;
    this.port = port;
  }
}